//
/***********************************************************
             File name:      main.c
             Author:         Bitat (陆叁柒)
             Email :         Bitat@qq.com
             Gitee :         https://gitee.com/bitat
             CSDN  :         https://blog.csdn.net/bitat 
             History:        2023/2/7
************************************************************/
    

#include <stdio.h>

int main()
{
    int i = 0;
    int a = 0;
    int b = 0;
    int c = 0;
    int count = 0;
    for(i = 100; i <= 999; i++)
    {
        a = i / 100;
        b = i / 10 % 10;
        c = i % 10;
        if(a * a * a + b * b * b + c * c * c == i)
        {
            printf("%d ",i);
            count++;
        }
    }
    printf("\n");
    printf("count=%d\n",count);
    
    return 0;
}
